
#include <compiler.h>

#ifndef __KEY_CONV_H__
#define __KEY_CONV_H__

#define  KEY_SET_MAX  0x8F

// 0: 美式键盘
// 1: 日式键盘
extern __bit keyboard_mode;    

UINT8 usb_to_ps2_index( UINT8 code );
UINT8 usb_to_ps2_index_sp( UINT8 code );

UINT8 ps2toHIDCodeLED(UINT8 led);
#endif